DEMO #1: In this activity, you'll see how we can use a variable inside a loop as a counter.
We use loops to repeat a step, or set of steps, in a program.
The range in a for loop is the number of times the loop runs.
The loop variable, counter, increases by 1 each time the loop runs.
To navigate the page using the TAB key, first press ESC to exit the code editor.